package com.form;

/**
 * 返回消息存放
 *
 * @author z'y
 */
public class Message {
    /**
     * 1.表示成功
     * 0.表示不成功
     */
    int status;
    /**
     * 装载返回信息
     */
    String message;

    public Message(int status, String message) {
        this.status = status;
        this.message = message;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    @Override
    public String toString() {
        return "Message{" +
                "status=" + status +
                ", message='" + message + '\'' +
                '}';
    }
    public boolean getStatuss(){
        return true;
    }
}
